package io.renren.modules.callconfig.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.callconfig.dao.CallConfigDao;
import io.renren.modules.callconfig.entity.CallConfigEntity;
import io.renren.modules.callconfig.service.CallConfigService;




@Service("callConfigService")
public class CallConfigServiceImpl extends ServiceImpl<CallConfigDao, CallConfigEntity> implements CallConfigService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CallConfigEntity> page = this.page(
                new Query<CallConfigEntity>().getPage(params),
                new QueryWrapper<CallConfigEntity>()
        );

        return new PageUtils(page);
    }

}